package com.cqjtu.platform.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.HashSet;
import java.util.Set;

/**
 * @author pengyangyan
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "role")
public class Role extends BaseEntity {

    /**
     * 角色名称 role:admin
     */
    @Column(nullable = false,length = 20)
    private String roleName;

    /**
     * 角色描述  管理员
     */
    @Column
    private String remark;
}
